// 存取删toekn
const token = 'userToken'
// 存token
export  const setToken = (data) =>{
     localStorage.setItem(token,data)
}
// 取token
export const getTOken = ()=>{
  return  localStorage.getItem(token)
}
// 删除token
export const delToken = () =>{
    localStorage.removeItem(token)
}